package abcy.cloud.authenticationserver.dto.resp;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("登录用户响应类")
public class LoginUserResp {

    @ApiModelProperty("用户id")
    private String id;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("用户头像路径")
    private String headImgUrl;

    @ApiModelProperty("用户联系方式")
    private String phone;

    @ApiModelProperty("用户性别")
    private Boolean sex;

    @ApiModelProperty("是否启用")
    private Boolean enabled;

    @ApiModelProperty("用户类型")
    private String type;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("是否锁定")
    private Boolean locked;

    @ApiModelProperty("是否管理员")
    private Boolean admin;

    @ApiModelProperty("盐")
    private String salt;

    @ApiModelProperty("用户邮箱")
    private String email;

    @ApiModelProperty("用户编码")
    private String code;

    @ApiModelProperty("用户角色")
    private String userRole;

    @ApiModelProperty
    private String signature;

    private String loginIp;

    private String loginAddress;

    private String lastLoginTime;
}
